const state = {
  count: 0
}

const mutations = {
  setCount (state, value) {
    state.count = value
    localStorage.msgcount = value
  }
}

const actions = {}

export default {
  state,
  mutations,
  actions
}
